JPQL (Java Persistence query language) is a query language, almost the same as SQL, but instead of the names and columns of database tables, it uses the names of the Entity classes and their attributes. The query parameters also use the data types of the attributes of the Entity, and not the database fields. Unlike SQL, JPQL has automatic polymorphism (see the next question). JPQL also uses functions that are not found in SQL: such as KEY (Map key), VALUE (Map value), TREAT (to cast a superclass to its heir object, downcasting), ENTRY, etc.
Posted Date:- 2021-11-08 17:41:29
What is the unique inheritance strategy in Hibernate, but not in the JPA specification?
What is JPQL (Java Persistence query language) and how is it different from SQL?
What is the difference between JPA and JDO?
What is the Spring data repository?
What is the Spring data repository?
What is the role of Entity Manager in JPA?
What are the two types of cache (cache) you know in JPA and what are they for?
What annotation can I manage JPA caching for this Entity?
What is the Basic annotation for?
How does the detach operation affect the Entity objects of each of the four statuses?
How does the refresh operation affect the Entity objects of each of the four statuses?
How does the operation merge affect the Entity objects of each of the four statuses?
How does the remove operation affect the Entity objects of each of the four statuses?
How does the operation persist on Entity objects of each of the four statuses?
What are the four lifecycle status of an Entity Instance’s Life Cycle you can list?
What is EntityManager and what are its main functions you can list?
What are the two types of fetch strategies in JPA do you know?
What is the difference between @Column and @Basic annotations in JPA?
What are the three types of Inheritance Mapping Strategies described in JPA?
What requirements does JPA set for Embeddable classes?
How can we enable Spring Data JPA features?
What is PlatformTransactionMangaer?
What data types are allowed in the attributes of the Entity class (fields or properties)?
What is the attribute of the Entity class in JPA terminology?
What are the properties of an entity ?
Why does JPA have a @Transient annotation?
What are the different types of entity mapping ?
In JPA EntityManager why use persist() over merge() ?
Define entity and name the different properties of an entity.
Can you name the different types of entity mapping.
What JPA requirements for Entity classes can you list (at least six requirements)?
Can Entity be an abstract class?
What is the difference between JPA and JDO?
What is the difference between JPA and JDO?
Is it possible to use JPA with noSQl databases?
What is the difference between JPA and Hibernate?
What is PagingAndSortingRepository?
How can we create a custom repository in Spring data JPA?
Why is an interface not a class?
What is the naming convention for finder methods in the Spring data repository interface?
What is the Spring data repository?